﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Stockholm.SOA.Kaskelot.WCF.DataContracts
{
	[DataContract(Namespace = "http://stockholm.se/SOA/Kaskelot/KaskelotService/1/", Name = "Forsamling")]
	public class Forsamling
	{
		[DataMember]
		public Guid Id { get; set; }
		[DataMember]
		public Guid ValId { get; set; }
		[DataMember]
		public string Namn { get; set; }
		[DataMember]
		public DateTime Skapad { get; set; }
		[DataMember]
		public string SkapadAv { get; set; }
		[DataMember]
		public DateTime? Andrad { get; set; }
		[DataMember]
		public string AndradAv { get; set; }
		[DataMember]
		public Valkrets Valkrets { get; set; }
		[DataMember]
		public string ValkretsNamn { get; set; }
		[DataMember]
		public Guid ValkretsId { get; set; }
		[DataMember]
		public IList<Valdistrikt> Valdistrikt { get; set; }
		[DataMember]
		public string ForsamlingNr { get; set; }

        public string FullName { get { return Namn; } }
	}
}
